package com.example.microservice02.controller;

import com.example.microservice02.service.MicroService02;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 微服务02控制层测试类
 */
@RestController
@RequestMapping("service02")
public class MicroService02Controller {

    @Autowired
    private MicroService02 microService02;

    @GetMapping("microService02Test")
    public String microService01Test(String str) {
        return microService02.microService02Test(str);
    }

}
